<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>1.2程序清单</title>
    <style>
        body{
            background: #ddd;
        }
        #canvas{
            border: thin inset #aaaaaa;
            margin: 10px;
            padding:10px;
            background: #fff;
        }

    </style>
</head>
<body>
<canvas width="600" height="300" id="canvas">
    your browser does not support canvas
</canvas>
<script src="./js/1.2_example.js"></script>
</body>
</html>